import request from '@/utils/request'

export const updateMark = (params: any): any => {
    return request.post({ url: '/wisdbook/page/mark/edit', params })
}

export const delMark = (params: any): any => {
    return request.post({ url: '/wisdbook/page/mark/del', params })
}

export const addMark = (params: any): any => {
    return request.post({ url: '/wisdbook/page/mark/add', params })
}

export const getPage = (params: any): any => {
    return request.post({ url: '/wisdbook/page/mark/list', params})
}

export const getPageQuest = (params: any): any => {
    return request.post({ url: '/wisdbook/page/mark/listQuest', params})
}

export const updatePageNum = (params: any): any => {
    return request.post({ url: '/wisdbook/page/update_pagenum', params })
}

export const loadPagesByBookId = (params: any): any => {
    return request.post({ url: '/wisdbook/page/list', params })
}

